home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- activeSprite = getActiveCharacter()
- if activeSprite then
- charSprite = sprite(activeSprite)
- charSprite.pStatus = #greeted
- charSprite.pTurnOffAnim = VOID
- charSprite.pAnimating = 0
- if count(currentActions()) then
- action = currentActionName()
- steps = currentActionSteps()
- charSprite.pActionList = [[#action: action, #turnOffAnim: 0]]
- charSprite.pWaitForVO = 0 - 1
- sendSprite(activeSprite, #stopSound)
- pLabels = charSprite.pLabels
- sendSprite(activeSprite, #nextAnim, [[#action: action, #turnOffAnim: VOID]], steps)
- end if
- else
- MUIalert("Add a character to the bar using the 'person' icon at the lower left")
- end if
- end
-